﻿@model Item

@{
    ViewBag.Title = "Create item";
}

<h2>@ViewBag.Title</h2>

@Html.Partial("_CreatePart", Model)

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")

    <script type="text/javascript">
    if (!Modernizr.inputtypes.date) {
        $(function () {
            $(".datefield").datepicker();
        });
    }

    </script>
}
